#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;

#include"binarysearchtree.h"


int main()
{
	wjb::BSTree<int> t;

	int a[] = { 8, 3, 1, 10, 6, 4, 7, 14, 13 };
	for (auto e : a)
	{
		t.insert(e);
	}
	t.inorder();

	t.erase(4);
	t.inorder();

	return 0;
}